﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CDC.SampleShell.Infrastructure
{
    public class Changeset
    {
        public int ChangesetID { get; private set; }
        public string GUID { get; private set; }
        public string UserID { get; private set; }
        public string Description { get; private set; }
        public int FormID { get; private set; }
        public Guid RecordID { get; private set; }
        public DateTime CheckinDate { get; private set; }
        public ChangesetType Type { get; private set; }

        public Changeset(int changesetId, string guid, string userID, string description, Guid recordID, int formID, DateTime checkinDate, ChangesetType type)
        {
            ChangesetID = changesetId;
            GUID = guid;
            UserID = userID;
            Description = description;
            RecordID = recordID;
            FormID = formID;
            CheckinDate = checkinDate;
            Type = type;
        }
    }
}
